package com.ulewo.easyjava.utils;

/**
 * Created by Administrator on 2017/1/22.
 */
public class StringUtil {
    public static String firstLetterUpper(String str) {
        str = str.substring(0, 1).toUpperCase()
                + str.substring(1);
        return str;
    }

    public static boolean isEmpty(String str) {
        if (str == null || "".equals(str.trim()) || "null".equalsIgnoreCase(str)) {
            return true;
        }
        return false;
    }
}
